<?php
/**
 * Created by IntelliJ IDEA.
 * User: Maxwell
 * Date: 2017/5/16
 * Time: 14:21
 */

namespace Home\Org\Util;


class PHPTOSAP
{
    static function sqlServerConnection()
    {
        $sqlserver  = '192.168.1.10';
        $sqldatabase= 'GT';
        $sqluser    = 'sa2';
        $sqlpassword= 'sasa';
        $sqlconnection = odbc_connect("Driver={SQL Server};Server=$sqlserver;Database=$sqldatabase;", $sqluser, $sqlpassword);
        return $sqlconnection;
    }

}